
<table class="orders">
  <?php foreach ($orders as $i => $order): ?>
    <tr class="<?php echo fmod($i, 2) ? 'even' : 'odd' ?>">
      <td class="name">
            <a href="<?php echo url_for(array(
            'sf_route' => 'order_show_order',
            'sf_subject' => $order))?>
            "><?php echo $order->getOrdername(); ?></a>
      </td>
    </tr>
  <?php endforeach; ?>
</table>

